package com.cian.mapper;

import com.cian.entity.Subsystem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cian.entity.dto.SubsystemForStockDTO;
import com.cian.entity.dto.WebLinkDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Cian
 * @since 2021-03-04
 */
@Mapper
@Component
public interface SubsystemMapper extends BaseMapper<Subsystem> {
    public List<WebLinkDTO> selectByServeAccount(@Param("serverAccount") String serverAccount);
    public List<SubsystemForStockDTO> selectByServeForStock(@Param("serverAccount") String serverAccount);
}
